package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.HsgtTop10Bean;

/**
* 描述：获取沪股通、深股通每日前十大成交详细数据
* @author: codesmith
**/
@Data
@TableName("hsgt_top10")
public class HsgtTop10Entity implements HsgtTop10Bean {
    
    /*
    * 交易日期
    */
    @TableId
    @TableField("`trade_date`") protected LocalDate tradeDate;
    /*
    * 股票代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;

    @TableField("`name`") protected String name;

    @TableField("`close`") protected Double close;

    @TableField("`change`") protected Double change;

    @TableField("`rank`") protected Integer rank;

    @TableField("`market_type`") protected String marketType;

    @TableField("`amount`") protected Double amount;

    @TableField("`net_amount`") protected Double netAmount;

    @TableField("`buy`") protected Double buy;

    @TableField("`sell`") protected Double sell;
}